home *** CD-ROM | disk | FTP | other *** search
- Short: GoldED2.0 API Client for the XRef-System xref_v1.1.lha
- Author: ruppert@vs3.informatik.fh-wiesbaden.de
- Uploader: ruppert@vs3.informatik.fh-wiesbaden.de
- Type: dev/misc
-
-
- NAME
- XRefAPI - GoldED API client for use with the xref.library to complete
- phrases
-
- FUNCTION
- Just run GoldED and load this as an API-Client ! Then you have the
- following new ARexx command :
-
- TEMPLATE
- XREFPHRASE CATEGORY/K,TYPES/K,MATCH/K,COMPLETEBEGIN/S,UPPERCASE/S,
- SPACE/S
-
- FORMAT
- XREFPHRASE [CATEGORY <string|pattern>] [TYPES <to search for>]
- [MATCH matchmode] [COMPLETEBEGIN] [UPPERCASE] [SPACE]
-
-
-
- FUNCTION
- the XREFPHRASE command tries to complete the current pharse (before
- the cursor) with the entries from the xref.library. This is done by
- two algorithms :
- - First uppercase letter match :
- This means each character in the phrase must match the
- next uppercase letter in the name ! For example :
- the pharse "ow" matches "OpenWindow()" ("O"pen"W"indow())
- - Second begin match :
- The entry must match the beginning of the phrase !
- There is a automatic two switch between to algorithms :
- - if the pharse consists only of lower case letters the
- uppercase letter match algorithm is used !
- - if in the pharse is a uppercase letter the begin match
- algorithm is used !
- Note the matchmode RECURSIVE uses only the begin match algorithm !
-
- INPUTS
- CATEGORY (STRING) - category string|pattern to search in
-
- TYPES (STRING) - types, which would only match ("function","struct",
- "function|struct" or so on)
-
- MATCH (STRING) - one of the following three matchmode strings
- (default is FIRST) :
- FIRST - always get the first entry, which match the given pharse
- RECURSIVE - much like a Tab-Completion algorithm, it search for
- all entries matches the given phrase and complete it to the
- last character equal to all entries ! If you pass UPPERCASE
- argument the search is case-insenitive !
- If you pass the phrase you passed last and cannot be more
- completed, it switches to the SELECT matchmode and displays
- the window !
- This mode uses everytime the begin match algorithm !!!
- SELECT - it searchs for all entries matching the given phrase and
- if more than one is found, it opens a window you can select
- one !
-
- COMPLETEBEGIN (BOOLEAN) - use the begin match algorithm instead of
- uppercase letter match !
-
- UPPERCASE (BOOLEAN) - convert the phrase to upper
-
- SPACE (BOOLEAN) - if a name is found and inserted place a space behind
-
- RESULTS
- the command returns RC_OK, if it could complete the pharse. RC_WARN
- if not !
-
- EXAMPLE
- 'XREFPHRASE CATEGORY #?AutoDoc TYPES "function"' :
-
- This command will parse all AutoDoc categories and compare the given
- shortcut with any function found in the xreffiles.For example the two
- letters "ow" will completed to "OpenWindow(", if you have the
- sys_autodoc.xref installed from the XRef-System package !
-
- SEE ALSO
- XRef-System.guide, GoldED/API, xref.library/ParseXRef(), ParseXRef
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 3186 1321 58.5% 05-Apr-95 22:49:04 XRef/Doc/english/XRefAPI.doc
- 468 232 50.4% 13-Sep-94 17:29:02 XRef/Doc/english/XRefAPI.doc.info
- 3582 1472 58.9% 05-Apr-95 22:49:20 XRef/Help/english/XRefAPI.guide
- 464 214 53.8% 13-Sep-94 17:29:14 XRef/Help/english/XRefAPI.guide.info
- 48 48 0.0% 02-Apr-95 23:32:12 XRef/Tools/golded/project
- 1377 698 49.3% 05-Apr-95 22:47:46 XRef/Tools/golded/SMakeFile
- 853 483 43.3% 13-Sep-94 17:30:10 XRef/Tools/golded/SMakeFile.info
- 7996 5111 36.0% 05-Apr-95 22:43:18 XRef/Tools/golded/XRefAPI
- 31937 8438 73.5% 05-Apr-95 22:48:58 XRef/Tools/golded/XRefAPI.c
- 417 214 48.6% 13-Sep-94 17:30:10 XRef/Tools/golded/XRefAPI.c.info
- 834 378 54.6% 13-Sep-94 17:30:10 XRef/Tools/golded/XRefAPI.info
- -------- ------- ----- --------- --------
- 51162 18609 63.6% 11-Apr-95 10:19:08 11 files
-